Jigoshop\Core\Types\Product\Variable D

Total Complexity 131
Dependencies 19
Dependents 5
Total lines 856
Lines of code 620
Logical lines of code 322
Comment lines 98
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
ajaxCreateVariationsFromAllAttributes()
B
35 19 86
ajaxSaveVariation()
B
37 19 68
ajaxSetImageVariation()
A
43 14 46
ajaxRemoveVariation()
A
47 10 35
ajaxAddVariation()
A
44 9 44
addVariationImages()
A
48 9 34
ajaxRemoveAllVariations()
A
48 8 31
addProductTab()
S
40 4 65
addToCart()
S
48 6 33
createCombinations()
S
56 6 18
addFrontendAssets()
S
48 5 32
isShippingRequired()
S
60 5 13
addAdminAssets()
S
48 1 33
getStock()
S
63 3 10
generateItemKey()
S
66 3 8
addVariableAttributeOptions()
S
60 2 12
initialize()
S
51 1 25
addProductMenu()
S
71 1 5
getId()
S
80 1 3
setAllowedSubtypes()
S
81 1 3
getAllowedSubtypes()
S
82 1 3
getClass()
S
82 1 3
getName()
S
79 1 3
__construct()
S
69 1 7